<link rel="stylesheet" href="__HOME__/css/sech_user.css" />
<!--==========内容主体==========-->
	<div style='height:60px;opcity:10'></div>
    <div class="main">
    <!--=====左侧=====-->
    {include file="public/left"/}

    <div id='right'>
        <p id='sech-logo'></p>
        <div id='sech'>
            <div>
                <form action="{:url('home/search/sech_user')}" method='get' id="search-data">
                    <input type="text" name='keyword' id='sech-cons' value="{$keyword}"/>
                    <input type="submit" value='搜&nbsp;索' id='sech-sub'/>
                </form>
            </div>
            <ul>
                <li><span class='cur sech-type' url="{:url('home/search/sech_user')}">找人</span></li>
                <li><span class="sech-type" url="{:url('home/search/sech_weibo')}">微博</span></li>
            </ul>
        </div>
    		
    		<div id='content'>
	    		<div class='view_line'>
	                <strong>用户</strong>
	            </div>
				{if condition="$result"}
	            <ul id="follow-parnet">
					{foreach $result as $v}
	            	<li class="follow-data-{$v['id']}">
						<dl class='list-left'>
							<dt>
								{if condition="$v['face80']"}
								<img src="{$v['face80']}" width='80' height='80'/>
								{else/}
								<img src="__HOME__/images/noface.gif" width='80' height='80'/>
								{/if}
							</dt>
							<dd>
								<a href="/uid/{$v['uid']}">{$v['intro']}{$v.username|str_replace=$keyword, '<font style="color:red">' . $keyword . '</font>', ###}</a>
							</dd>
							<dd>
								{if condition="$v['sex'] == '男'"}
								<i class='icon icon-boy'></i>&nbsp;
								{else/}
								<i class='icon icon-girl'></i>&nbsp;
								{/if}
								{if condition='$v["location"]'}
									{$v['location']}
									{else/}
									该用户未填写所在地
								{/if}
							</dd>
							<dd>
								<span>关注 <a href="javascript:;">{$v['follow']}</a></span>
								<span class='bd-l'>粉丝 <a href="javascript:;">{$v['fans']}</a></span>
								<span class='bd-l'>微博 <a href="javascript:;">{$v['weibo']}</a></span>
							</dd>
						</dl>
	    				<dl class='list-right' id="follow-msg">
							{if condition="$v['mutual']"}
                            <dt>互相关注</dt>
                            <dd class='del-follow' fid="{$v['uid']}" oid="{$v['id']}" url="{:url('home/index/del_follow')}">移除</dd>
							{/if}
							{if condition="$v['followed']"}
                            <dt>√<span style="margin-left: 5px;">已关注</span></dt>
                            <dd class='del-follow' fid="{$v['uid']}" oid="{$v['id']}" url="{:url('home/index/del_follow')}">移除</dd>
							{/if}
							{if condition="!$v['mutual'] && !$v['followed']"}
                            <dt class='add-fl' uid="{$v['uid']}" oid="{$v['id']}" type="0">+<span style="margin-left: 5px;">关注</span></dt>
							{/if}
	    				</dl>
	    			</li>
					{/foreach}
                </ul>
    			<div style="text-align:center;padding:20px;">{$page}</div>
				{else/}
    			<p style='text-indent:7em;'>未找到与<strong style='color:red'>{$keyword}</strong>相关的用户</p>
				{/if}
	        </div>
    	</div>
    </div>
    <!--==========内容主体结束==========-->
